package de.dfki.asr.genesis2.sms.util;

import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

public class Media {
	@XStreamAsAttribute
	private String src = null;
	
	@XStreamAsAttribute
	private String type = null;
	
	@XStreamAsAttribute
	private Integer height = null;
	
	@XStreamAsAttribute
	private Integer width = null;
	
	@XStreamAsAttribute
	private Integer duration = null;
	
	public Media() {
	}
	
	public Media(String url, String type){
		this.setUrl(url);
		this.setType(type);
	}

	public String getUrl() {
		return src;
	}

	public void setUrl(String url) {
		this.src = url;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getDuration() {
		return duration;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}
}
